package com.qtt.app.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class OrderForm {
    private String id;

    private Integer status;

    private String courseId;

    private String generalId;

    private Long userId;

    private BigDecimal sumPrice;

    private BigDecimal realPrice;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    private String payNo;

    private String realName;

    private String phone;

    private Long shareId;

    private Integer peopleNum;

    private Integer regId;

    private Integer version;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;

    public OrderForm(String id, Integer status, String courseId, String generalId, Long userId, BigDecimal sumPrice, BigDecimal realPrice, Date payTime, String payNo, String realName, String phone, Long shareId, Integer peopleNum, Integer regId, Integer version, Date gmtCreate, Date gmtModified) {
        this.id = id;
        this.status = status;
        this.courseId = courseId;
        this.generalId = generalId;
        this.userId = userId;
        this.sumPrice = sumPrice;
        this.realPrice = realPrice;
        this.payTime = payTime;
        this.payNo = payNo;
        this.realName = realName;
        this.phone = phone;
        this.shareId = shareId;
        this.peopleNum = peopleNum;
        this.regId = regId;
        this.version = version;
        this.gmtCreate = gmtCreate;
        this.gmtModified = gmtModified;
    }

    public OrderForm() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getGeneralId() {
        return generalId;
    }

    public void setGeneralId(String generalId) {
        this.generalId = generalId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public BigDecimal getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(BigDecimal sumPrice) {
        this.sumPrice = sumPrice;
    }

    public BigDecimal getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(BigDecimal realPrice) {
        this.realPrice = realPrice;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getShareId() {
        return shareId;
    }

    public void setShareId(Long shareId) {
        this.shareId = shareId;
    }

    public Integer getPeopleNum() {
        return peopleNum;
    }

    public void setPeopleNum(Integer peopleNum) {
        this.peopleNum = peopleNum;
    }

    public Integer getRegId() {
        return regId;
    }

    public void setRegId(Integer regId) {
        this.regId = regId;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}